package pub.dao;

import java.util.List;

import pub.model.PageBean;

public interface CommonDao {
	
//	public <T> Object CDSave(T t) throws Exception;
	public Integer CDexecut(String sql)throws Exception;
	public <T> List<T> CDQuery(final StringBuffer sb,final Class<T> className) throws Exception;
	public <T> PageBean<T> CDqueryPage(final StringBuffer sb,final PageBean<T> page,final Class<T> className) throws Exception;
}
